package com.jiangjiang.eshop.commodity.operation;

import com.jiangjiang.eshop.commodity.operation.Category;

/**
 * @ClassName CategoryOpration
 * @Description 类目操作接口
 * @Author jhw
 * @Date 2021/7/9 14:35
 * @Version 1.0
 **/
public interface CategoryOperation<T> {

    /**
     *
     * 执行类目操作
     * @param category 类目树节点
     * @return 处理结果
     * @throws Exception 异常
     */
    T doExecute(Category category) throws Exception;
}
